<div class="col-sm-3 col-md-2 sidebar">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#sidebarlist">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
    </button>
    <div class="navbar-collapse collapse" id="sidebarlist">
        <ul class="nav nav-list">
            <li class="<?php echo ($active_menu==="dashboard"?"active":"");?>"><a href="<?php echo base_url().'admin'?>">Dashboard</a></li>
            <li class="<?php echo ($active_menu==="content"?"active":"");?>">
                <a href="javascript:;">Content</a>
                <ul class="submenu">
                    <li><a href="<?php echo base_url().'admin/content';?>">Add Content</a></li>
                    <li><a href="<?php echo base_url().'admin/contentlist';?>">List of Content</a></li>
                    <li><a href="<?php echo base_url().'admin/contenttype';?>">Content Type</a></li>
                </ul>
            </li>
            <li class="<?php echo ($active_menu==="gallery"?"active":"");?>">
                <a href="javascript:;">Gallery</a>
                <ul class="submenu">
                    <li><a href="<?php echo base_url().'admin/gallery';?>">Add Gallery</a></li>
                    <li><a href="<?php echo base_url().'admin/gallerylist';?>">List of Gallery</a></li>
                </ul>
            </li>
            <li class="<?php echo ($active_menu==="menu"?"active":"");?>">
                <a href="javascript:;">Menu</a>
                <ul class="submenu">
                    <li><a href="<?php echo base_url().'admin/menu';?>">Add Menu</a></li>
                    <li><a href="<?php echo base_url().'admin/menulist';?>">List of Menu</a></li>
                </ul>
            </li>
            <li><a href="<?php echo base_url().'user/logout';?>">Logout</a></li>
        </ul>
    </div>
</div>